﻿<form id="fr-SendRemoveOrderFromLoadEmail">
<input id='IsCancelOrder' name="IsCancelOrder" type="hidden" value="False"/>
<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
    <h4>Send Email To Logistics</h4>
</div>
<div class="modal-body" style="padding-bottom: 0px;">
    <div class="row-fluid">
        <div class="span4">OrderRef</div>
        <div class="span8">
            <input name="OrderRef" type="text" required="required" disabled="disabled"class="input-block-level" value="@ViewBag.OrderRef"/></div>
    </div>
    @if (!string.IsNullOrEmpty(ViewBag.OrderItems))
    {<div class="row-fluid " id="orderitemsfluid" >
        <div class="span4">Order Items</div>
        <div class="span8">
            <input name="OrderItems" type="text" disabled="disabled"required="required" class="input-block-level" value="@ViewBag.OrderItems"/>
            <input name="OrderItemId" type="hidden" value="@ViewBag.OrderItemId"/>
        </div>
    </div>}
        <div class="row-fluid">
        <div class="span4">Load Code</div>
        <div class="span8">
            <input name="LoadCode" type="text" disabled="disabled"required="required" class="input-block-level" value="@ViewBag.LoadCode"/></div>
    </div>
    <div class="row-fluid">
        <div class="span4">Reason</div>
        <div class="span8"><textarea name="Reason" rows="5" class="input-block-level" required="required"></textarea></div>
    </div>
</div>
<div class="modal-footer">
    <button class="btn btn-primary" type="submit" aria-hidden="true">Send</button>
    <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
</div>
</form>